package com.googlecode.jsitemap.sitemap;

import com.googlecode.jsitemap.XMLEntryBase;

/**
 * @author Denis Migol
 * 
 */
public class UrlEntry extends XMLEntryBase<UrlEntry> {

	public enum CHANGEFREQ {
		ALWAYS, HOURLY, DAILY, WEEKLY, MONTHLY, YEARLY, NEVER
	}

	private CHANGEFREQ changefreq;
	private Float priority;

	public UrlEntry setChangefreq(final CHANGEFREQ changefreq) {
		this.changefreq = changefreq;
		return this;
	}

	public CHANGEFREQ getChangefreq() {
		return changefreq;
	}

	public UrlEntry setPriority(final Float priority) {
		this.priority = priority;
		return this;
	}

	public Float getPriority() {
		return priority;
	}

}
